import request from '@/utils/request'
export function login(data) {
  return request({
    url: 'https://api.xhm2006.com/api/LoginAuth/LoginMobile',
    method: 'post',
    data
  })
}
export function getInfo(token) {
  return request({
    url: 'https://api.xhm2006.com/api/LoginAuth/UserInfo',
    method: 'post',
    params: {
      token
    }
  })
}
export function logout() {
  return request({
    url: 'https://api.xhm2006.com/api/LoginAuth/LoginOut',
    method: 'post'
  })
}
